package managebean;
import java.io.Serializable;

import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

import model.Employe;

import EJBSession.BeanEmploye;

@ManagedBean
@SessionScoped
public class BeanHome implements Serializable {
	private static final long serialVersionUID = 1L;
	@EJB
	BeanEmploye ejb;	
	Employe employe = new Employe();
	private String identifiant;
	private String mdp;

	public BeanHome()
	{
		super();
		employe = ejb.getEmployeById(3);
		identifiant = employe.getEmployeNom();
	}

	public String getIdentifiant() {
		return identifiant;
	}

	public void setIdentifiant(String identifiant) {
		this.identifiant = identifiant;
	}

	public String getMdp() {
		return mdp;
	}

	public void setMdp(String mdp) {
		this.mdp = mdp;
	}
}
